package com.servlet.service;

import com.servlet.bean.Student;

import java.sql.SQLException;
import java.util.List;

/**
 * @Title: StudentService
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2023/12/26 14:26
 */
public interface StudentService {

    List<Student> queryStus() throws SQLException;

    Student  queryStuById(String id) throws SQLException;

    void addStu(Student student) throws SQLException;

    void editStu(Student student) throws SQLException;

    void deleteStuById(String id) throws SQLException;
}
